<template>
  <div class="page-home">
    <div class="home-entry">
      <div class="container">
        <!-- 左侧分类 -->
        <HomeCategory />
        <!-- banner轮播图 -->
        <HomeBanner/>

      </div>
       <!-- 楼层 -->
        <HomeNew></HomeNew>
        <HomeHot></HomeHot>
        <!-- <HomeBrand></HomeBrand> -->
    </div>
  </div>
</template>

<script>
import HomeCategory from './components/home-category.vue'
import HomeBanner from './components/home-banner.vue'
import HomeNew from './components/home-new.vue'
import HomeHot from './components/home-hot.vue'
// import HomeBrand from './components/home-brand.vue'

// import { findHomeBrand, findHomeGoods, findHomeHot, findHomeNew, findHomeSpecial } from '@/api/home'
// import { ref } from 'vue'
export default {
  name: 'PageHome',
  components: { HomeCategory, HomeBanner, HomeNew, HomeHot },
  setup () {

    // const goodsList = ref([])
    // const specialList = ref([])

    // // 获取 首页-产品区块
    // findHomeGoods.then(({ result }) => {
    //   goodsList.value = result
    // })
    // // 获取 首页-最新专题
    // findHomeSpecial.then(({ result }) => {
    //   specialList.value = result
    // })
  }
}
</script>
